package com.gpframework.common.pay.leshua.req;

/**
 * @author eden
 * @date 2018/5/21 下午3:36
 * @desc
 */
public class LeshuaOrderCloseReq extends LeshuaBaseReq {
	
	/**
	 * 
	 */
	public LeshuaOrderCloseReq() {
		this.service = "close_order";
	}
	
	/**
	 * 
	 * @param merchant_id
	 * @param third_order_id
	 */
	@Deprecated
	public LeshuaOrderCloseReq(String merchant_id, String third_order_id) {
		setService("close_order");
		setMerchant_id(merchant_id);
		setThird_order_id(third_order_id);
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("LeshuaOrderCloseReq [service=");
		builder.append(service);
		builder.append(", merchant_id=");
		builder.append(merchant_id);
		builder.append(", third_order_id=");
		builder.append(third_order_id);
		builder.append(", nonce_str=");
		builder.append(nonce_str);
		builder.append(", sign=");
		builder.append(sign);
		builder.append("]");
		return builder.toString();
	}
}
